import { IsString, IsObject, IsArray, IsOptional, IsNumber, IsBoolean } from 'class-validator';

export class CreateWorkflowTemplateDto {
    @IsString()
    name: string;

    @IsString()
    description: string;

    @IsString()
    category: string;

    @IsObject()
    workflow: Record<string, any>;

    @IsArray()
    @IsOptional()
    tags?: string[];

    @IsString()
    thumbnail: string;

    @IsString()
    author: string;

    @IsObject()
    defaultParams: Record<string, any>;

    @IsArray()
    @IsOptional()
    previewImages?: string[];

    @IsObject()
    @IsOptional()
    metadata?: {
        modelVersion?: string;
        recommendedSettings?: Record<string, any>;
        difficulty?: string;
        estimatedTime?: number;
    };
} 